// import http from '@/utils/httpRequest.js'
// export function policy() {
//    return  new Promise((resolve,reject)=>{
//         http({
//             url: http.adornUrl("/thirdparty/oss/policy"),
//             method: "get",
//             params: http.adornParams({})
//         }).then(({ data }) => {
//             resolve(data);
//         })
//     });
// }



import request from "@/utils/request";

export function policy(data) {
  return request({
    url: '/thirdparty/oss/policy',
    method: 'get',
    data: data
  })
}
